package com.lcq.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lcq.common.to.OrderSpuInfoTo;
import com.lcq.common.utils.PageUtils;
import com.lcq.gulimall.product.entity.SkuInfoEntity;
import com.lcq.gulimall.product.vo.SkuItemVo;

import java.util.Map;
import java.util.concurrent.ExecutionException;

/**
 * sku信息
 *
 * @author lichuanqi
 * @email lichuanqi0086@163.com
 * @date 2021-02-21 17:28:25
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    SkuItemVo getSkuItem(Long skuId) throws ExecutionException, InterruptedException;

    OrderSpuInfoTo getSpuInfo(Long skuId);
}

